/**
 * 2017年5月3日
 */
package pojo.dto.services;

import java.util.Arrays;

import cn.edu.bjtu.labsys.model.impl.AbstractDocumentVector;

/**
 * @author Alex
 *
 */
public class DocumentVector extends AbstractDocumentVector {
	private String docId;
	private String docLabel;
	private Vec vector = null;

	public DocumentVector(String docId, String docLabel,
			Vec mVector) {
		this.docId = docId;
		this.docLabel = docLabel;
		this.vector = mVector;
	}

	public DocumentVector() {
	}
	public String getDocId() {
		return this.docId;
	}

	public String getDocLabel() {
		return this.docLabel;
	}


	/**
	 * @return the vector
	 */
	public Vec getVector() {
		return vector;
	}

	/**
	 * @param vector the vector to set
	 */
	public void setVector(Vec vector) {
		this.vector = vector;
	}

	/**
	 * @param docId the docId to set
	 */
	public void setDocId(String docId) {
		this.docId = docId;
	}

	/**
	 * @param docLabel the docLabel to set
	 */
	public void setDocLabel(String docLabel) {
		this.docLabel = docLabel;
	}
	
	public String toString(){
		return "docId:"+this.docId+" "+"docLable:"+this.docLabel +"vec:"+Arrays.toString(vector.getValues());
	}

	
	
}
